<?php

// Test controller
class Static_Controller extends Controller {
	
	public function before() {
		$request = Request::current();

		$request->param('beforeTest', 'Hello World Before...');
	}

	public function after() {
		$request = Request::current();

		$request->param('afterTest', '...Goodbye World!');
	}

	public function indexAction(&$request) {
		$request->param('test', 'Hello World!');

		$view = new View('views/static/detail.php');

		$request->response = $view;
	}

}